package engine.net.messages
{
	/**
	 * 引擎消息集合
	 * @author baof
	 * 
	 */	
	public class SystemMsgFlag
	{
		//客户端向服务端发送的消息编号
		static public const CLIENT_GET_VERIFY							:Number = 0;
		static public const CLIENT_RET_ENCODE							:Number = 1;
		
		/**
		 * 登录
		 * 参数：[帐号:String,密码:String,登录角色名:WString(默认""),验证码:String(默认"")]
		 */		
		static public const CLIENT_LOGIN								:Number = 2;
		static public const CLIENT_WORLD_INFO							:Number = 3;
		static public const CLIENT_CHOOSE_ROLE						:Number = 4;
		
		/***/
		static public const CLIENT_CREATE_ROLE						:Number = 5;
		
		static public const CLIENT_DELETE_ROLE						:Number = 6;
		static public const CLIENT_SELECT								:Number = 7;
		static public const CLIENT_SELECTMENU							:Number = 8;
		static public const CLIENT_MENUCLEAR							:Number = 9;
		static public const CLIENT_SPEECH								:Number = 10;
		static public const CLIENT_READY								:Number = 11;
		static public const CLIENT_CUSTOM								:Number = 12;
		static public const CLIENT_REQ_MOVE							:Number = 13;
		static public const CLIENT_TO_GM								:Number = 14;
		static public const CMSG_LOGIN_ANYWAY							:Number = 16;
						
		


        //服务端向客户端发送的消息编号
        static public const SERVER_SET_VERIFY:Number = 0;
		static public const SERVER_SET_ENCODE:Number = 1;
		static public const SERVER_ERROR_CODE:Number = 2;
		static public const SERVER_LOGIN_SUCCEED:Number = 3;
		static public const SERVER_WORLD_INFO:Number = 4;
		static public const SERVER_TERMINATE:Number = 5;
		static public const SERVER_ENTRY_SCENE:Number = 6;
		static public const SERVER_EXIT_SCENE:Number = 7;
		static public const SERVER_ADD_OBJECT:Number = 8;
		static public const SERVER_REMOVE_OBJECT:Number = 9;
		static public const SERVER_OBJ_VISIBLE:Number = 10;
		static public const SERVER_PROPERTY_TABLE:Number = 11;
		static public const SERVER_STATE_TABLE:Number = 12;
		static public const SERVER_RECORD_TABLE:Number = 13;
		static public const SERVER_SCENE_PROPERTY:Number = 14;
		static public const SERVER_OBJECT_PROPERTY:Number = 15;
		static public const SERVER_ACTION:Number = 16;
		static public const SERVER_SPEECH:Number = 17;
		static public const SERVER_SYSTEM_INFO:Number = 18;
		static public const SERVER_MENU:Number = 19;
		static public const SERVER_MENU_CLEAR:Number = 20;
		static public const SERVER_CUSTOM:Number = 21;//自定义消息。
		static public const SERVER_CREATE_VIEW:Number = 22;
		static public const SERVER_DELETE_VIEW:Number = 23;
		static public const SERVER_VIEW_PROPERTY:Number = 24;
		static public const SERVER_VIEW_ADD:Number = 25;
		static public const SERVER_VIEW_REMOVE:Number = 26;
		static public const SERVER_VIEWOBJ_PROPERTY:Number = 27;
		static public const SERVER_RECORD_ADDROW:Number = 28;
		static public const SERVER_RECORD_DELROW:Number = 29;
		static public const SERVER_RECORD_GRID:Number = 30;
		static public const SERVER_RECORD_CLEAR:Number = 31;
		static public const SERVER_LOCATION:Number = 32;
		static public const SERVER_ALL_DEST:Number = 33;
		static public const SERVER_ALL_POSI:Number = 34;
		static public const SERVER_IDLE:Number = 35;
		static public const SERVER_WARNING:Number = 36;
		static public const SERVER_FROM_GM:Number = 37;
		static public const SERVER_SYSTEM_INFO_NEW:Number = 144;//系统提示消息头
	    static public const SERVER_MENU_NEW:Number = 145;
	    static public const SERVER_LOCATION_NEW:Number = 146;
	    static public const SERVER_ALL_DEST_NEW:Number = 147;
	    static public const SERVER_CLASS_VISPROP:Number = 148;
		static public const SERVER_VIEW_EXCHANGE:Number = 149;
	
		static public const SERVER_SVR_INFO:Number = 0x80;
		static public const SERVER_SVR_INFO_NEW:Number = 0x81;
		
		//返回排队信息
		static public const SERVER_QUEUE:Number = 0x82;
	
		public function SystemMsgFlag()
		{
		}

	}
}